﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Mulberry.Model
{
    /// <summary>
    /// 表7桑园套种农作物情况调查表T_MulInterCrops查询条件
    /// </summary>
    public class MulInterCropsQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        public string ReportCode { get; set; }
        public string AreaCode { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId{ get;set;}
        /// <summary>
        /// 分类代码
        /// </summary>
        public string SortCode{ get;set;}
        /// <summary>
        /// 分类名称
        /// </summary>
        public string SortName{ get;set;}
        /// <summary>
        /// 项目代码
        /// </summary>
        public string ItemCode{ get;set;}
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ItemName{ get;set;}
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit{ get;set;}
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Quantity{ get;set;}
        public string FillInYear { get; set; }
    }
    public class EditMulInterCropsModel {
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        public string Status { get; set; }
        public List<MulInterCropsModel> ResultList { get; set; }
    }
    public class MulInterCropsModel {
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 分类代码
        /// </summary>
        public string SortCode { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string SortName { get; set; }
        public string ItemName { get; set; }
        public string ItemCode { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal Area { get; set; }
        /// <summary>
        /// 产值
        /// </summary>
        public decimal OutputValue { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        public decimal? Quantity { get; set; }
        public string Unit { get; set; }

    }
    public class MulCropsStatistModel
    {
        /// <summary>
        /// 所属父级名称
        /// </summary>
        public string ParentName { get; set; }
        /// <summary>
        /// 所属父级行政区划
        /// </summary>
        public string ParentCode { get; set; }
        /// <summary>
        /// 行政区划代码
        /// </summary>
        public string AreaCode { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string FillInYear { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string FillInYearName { get; set; }
        /// <summary>
        /// 分类代码
        /// </summary>
        public string SortCode { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string SortName { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal Area { get; set; }
        /// <summary>
        /// 产值
        /// </summary>
        public decimal OutputValue { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
